package com.imooc.pan.file.service.es;

import com.imooc.pan.file.context.FileSearchContext;
import com.imooc.pan.file.entity.es.FileMessageEs;

import java.util.List;

/**
 * @author Janson
 * @Description TODO
 * @Date 2023/7/28
 */

public interface FileMessageEsService {
    void insertFiles();
    List<FileMessageEs> findHightLight();
    
    /**
     * es查询，通过filename匹配，高亮查询
     * @param context
     * @return
     */
    List<FileMessageEs> selectFilesHighlight(FileSearchContext context);
}
